Date: Mon, 16 Dec 1996 22:12:39 GMT
Server: NCSA/1.5
Content-type: text/html
Last-modified: Fri, 09 Feb 1996 12:49:54 GMT
Content-length: 4446


<html>
<head>
<title>
CS418 Lab 0
</title>
</head>

<body>
<h2><!WA0><!WA0><!WA0><!WA0><!WA0><!WA0><!WA0><!WA0><!WA0><!WA0><!WA0><!WA0><!WA0><!WA0><!WA0><!WA0><!WA0><!WA0><!WA0><!WA0><!WA0><!WA0><!WA0><!WA0><img src="http://www.tc.cornell.edu/Visualization/Education/cs418/gifs/teapot.thumb.gif">
CS 418: Laboratory 0 </h2> 
<h2> Getting started with DataExplorer. </h2>
<p>
These instructions will introduce you to 
<!WA1><!WA1><!WA1><!WA1><!WA1><!WA1><!WA1><!WA1><!WA1><!WA1><!WA1><!WA1><!WA1><!WA1><!WA1><!WA1><!WA1><!WA1><!WA1><!WA1><!WA1><!WA1><!WA1><!WA1><a href="http://www.tc.cornell.edu/Visualization/tools/dx.html">DataExplorer (DX)</a>
and the lab facilities in the Cornell University
<!WA2><!WA2><!WA2><!WA2><!WA2><!WA2><!WA2><!WA2><!WA2><!WA2><!WA2><!WA2><!WA2><!WA2><!WA2><!WA2><!WA2><!WA2><!WA2><!WA2><!WA2><!WA2><!WA2><!WA2><a href="http://www.cs.cornell.edu/">Computer Science</a> department
and in the 
<!WA3><!WA3><!WA3><!WA3><!WA3><!WA3><!WA3><!WA3><!WA3><!WA3><!WA3><!WA3><!WA3><!WA3><!WA3><!WA3><!WA3><!WA3><!WA3><!WA3><!WA3><!WA3><!WA3><!WA3><a href="http://www.tc.cornell.edu/ctcIntro.html">Cornell Theory Center</a>.
DX is a software package intended to
be used for scientific visualization. At the start of the semester we will use it as a
rendering/viewing platform for various computer graphics procedures. Machines to
run DX are located in room 335 in Upson and in room 471 in the
E&TC building.
There are several sections:
<ul>
<li> <b> Basic Information </b>
<ul>
<li>Your First DX session (see below).
<li><!WA4><!WA4><!WA4><!WA4><!WA4><!WA4><!WA4><!WA4><!WA4><!WA4><!WA4><!WA4><!WA4><!WA4><!WA4><!WA4><!WA4><!WA4><!WA4><!WA4><!WA4><!WA4><!WA4><!WA4><a href="http://www.tc.cornell.edu/Visualization/Education/cs418/IntroUNIX/main.html"> UNIX for CS 418. </a>
<li><!WA5><!WA5><!WA5><!WA5><!WA5><!WA5><!WA5><!WA5><!WA5><!WA5><!WA5><!WA5><!WA5><!WA5><!WA5><!WA5><!WA5><!WA5><!WA5><!WA5><!WA5><!WA5><!WA5><!WA5><a href="http://www.tc.cornell.edu/Visualization/Education/cs418/Tutorial/tuthead.html"> DX Data Structures.</a>
<li><!WA6><!WA6><!WA6><!WA6><!WA6><!WA6><!WA6><!WA6><!WA6><!WA6><!WA6><!WA6><!WA6><!WA6><!WA6><!WA6><!WA6><!WA6><!WA6><!WA6><!WA6><!WA6><!WA6><!WA6><a href="http://www.tc.cornell.edu/Visualization/Education/cs418/DXnotes.html"> DX use notes and <b>warnings.</b> </a>
</ul>
<p>
<li> <b> Further Information </b>
<ul>
<li> <!WA7><!WA7><!WA7><!WA7><!WA7><!WA7><!WA7><!WA7><!WA7><!WA7><!WA7><!WA7><!WA7><!WA7><!WA7><!WA7><!WA7><!WA7><!WA7><!WA7><!WA7><!WA7><!WA7><!WA7><a href="http://www.tc.cornell.edu/Visualization/Education/cs418/DXimages.html"> 
Submitting Still images and animation for the course Web pages.</a>
<li> <!WA8><!WA8><!WA8><!WA8><!WA8><!WA8><!WA8><!WA8><!WA8><!WA8><!WA8><!WA8><!WA8><!WA8><!WA8><!WA8><!WA8><!WA8><!WA8><!WA8><!WA8><!WA8><!WA8><!WA8><a href="http://www.tc.cornell.edu/Visualization/Education/cs418/MPEG/mpeg.html"> 
Creating MPEG animation files. </a>
<li> There are some DX techniques outlined in the
<!WA9><!WA9><!WA9><!WA9><!WA9><!WA9><!WA9><!WA9><!WA9><!WA9><!WA9><!WA9><!WA9><!WA9><!WA9><!WA9><!WA9><!WA9><!WA9><!WA9><!WA9><!WA9><!WA9><!WA9><a href="http://www.tc.cornell.edu/DX/DXtips.html"> DX Repository </a> 
which may be useful later in the semester.
You may also want to look at some 
<!WA10><!WA10><!WA10><!WA10><!WA10><!WA10><!WA10><!WA10><!WA10><!WA10><!WA10><!WA10><!WA10><!WA10><!WA10><!WA10><!WA10><!WA10><!WA10><!WA10><!WA10><!WA10><!WA10><!WA10><a href="http://www.tc.cornell.edu/Visualization/contrib/cs490-94to95/StudentProj94to95.html">
 student programming projects </a> using DX.
<li> <b> Disk Space: </b><br>
We have set up a temporary 1.7 Gbyte partition for CS 418 use at <br>
<code> /afs/theory/tc/courses/cs418/tmp </code> <br>
You should consider it scratch space for MPEG compression. Materials are
subject to deletion after 24 hours.
<br> To use it:
<ul> 
<li>Make sure (on the HP machines) that 
<code> /usr/local/afsws/bin</code> <br> is in your
path. On the IBM machines, skip this step.
<li> Issue the command <code>klog</code>,
then enter your IBM system password.
On the IBM machines, skip this step.
<li> Issue a cd command to <code> /afs/theory/tc/courses/cs418/tmp 
</code>
<li> Make a directory for your materials
</ul>

</ul>
</ul>
<p>
<hr>
<b>Your First DX session.</b>
<p>
To get started, login to one of the 
<!WA11><!WA11><!WA11><!WA11><!WA11><!WA11><!WA11><!WA11><!WA11><!WA11><!WA11><!WA11><!WA11><!WA11><!WA11><!WA11><!WA11><!WA11><!WA11><!WA11><!WA11><!WA11><!WA11><!WA11><a href="http://www.tc.cornell.edu/Visualization/Education/cs418/machine.names"> machines</a> (HP700 or IBM RS6000). 
<ul>
<li> On the IBM machines
you will need to start x-windows using the <code> 'xinit'</code> command.  
<li> On the HP machines
 x-windows starts automatically.  
 </ul>
 The first time you login you will need to load a few files and 
 modify your .cshrc file. If you don't know how to do this in UNIX
 ask a consultant or check ou the 
<!WA12><!WA12><!WA12><!WA12><!WA12><!WA12><!WA12><!WA12><!WA12><!WA12><!WA12><!WA12><!WA12><!WA12><!WA12><!WA12><!WA12><!WA12><!WA12><!WA12><!WA12><!WA12><!WA12><!WA12><a href="http://www.tc.cornell.edu/Visualization/Education/cs418/IntroUNIX/main.html"> UNIX intro </a> page.
 <ul>
 <li> Click 
<!WA13><!WA13><!WA13><!WA13><!WA13><!WA13><!WA13><!WA13><!WA13><!WA13><!WA13><!WA13><!WA13><!WA13><!WA13><!WA13><!WA13><!WA13><!WA13><!WA13><!WA13><!WA13><!WA13><!WA13><a href="http://www.tc.cornell.edu/Visualization/Education/cs418/labs/macros.tar">  here </a>
 to download some utilities you will need. When the dialog box appears,
 save the file as "macros.tar" in your home directory.
 <li> Execute the command <br> <code>
 tar -xvf macros.tar </code> <br> This will put the utilities in a new
 directory called .DXmacros.
 <li> Add the line<br><code> setenv DXMACROS
 ~myid/.DXmacros<br>
 </code> to your <code> .cshrc </code> file.
Note that "myid" is a placeholder for your user id.
<li> Execute the command<br>
<code> source .cshrc </code> <br>
This will cause the macros to become available to DX when it starts up.
This command is executed automatically whenever you login or open a new window.
 </ul>
 Anytime you start a session,
make sure you have a c-shell running (type <code> csh </code>) then start DX by typing <code> 'dx'</code>. 
<p>
At the end
of a session, 
<ul>
<li>On the IBM machines kill x-windows by typing <code> cntl-Alt-backspace</code>. 
Then <code> logout</code>.
<li> On the HP machines logout from the desktop.
</ul>
<p>
DX has extensive on-line help, including tutorials and a complete manual which you
can look at  by clicking the Help menu in the upper right of the editor window. You
can also click the middle button over any object (module, menu) to get context
sensitive help.
<hr>
<p>
<!WA14><!WA14><!WA14><!WA14><!WA14><!WA14><!WA14><!WA14><!WA14><!WA14><!WA14><!WA14><!WA14><!WA14><!WA14><!WA14><!WA14><!WA14><!WA14><!WA14><!WA14><!WA14><!WA14><!WA14><img src="http://www.tc.cornell.edu/Visualization/Education/cs418/gifs/leftarrow.icon.gif">
Back to <!WA15><!WA15><!WA15><!WA15><!WA15><!WA15><!WA15><!WA15><!WA15><!WA15><!WA15><!WA15><!WA15><!WA15><!WA15><!WA15><!WA15><!WA15><!WA15><!WA15><!WA15><!WA15><!WA15><!WA15><a href="http://www.tc.cornell.edu/Visualization/Education/cs418/index.html"> Main Page </a>
<br>
<!WA16><!WA16><!WA16><!WA16><!WA16><!WA16><!WA16><!WA16><!WA16><!WA16><!WA16><!WA16><!WA16><!WA16><!WA16><!WA16><!WA16><!WA16><!WA16><!WA16><!WA16><!WA16><!WA16><!WA16><img src="http://www.tc.cornell.edu/Visualization/Education/cs418/gifs/rightarrow.icon.gif">
Go to <!WA17><!WA17><!WA17><!WA17><!WA17><!WA17><!WA17><!WA17><!WA17><!WA17><!WA17><!WA17><!WA17><!WA17><!WA17><!WA17><!WA17><!WA17><!WA17><!WA17><!WA17><!WA17><!WA17><!WA17><a href="http://www.tc.cornell.edu/Visualization/Education/cs418/lab1.html"> Lab 1</a>

 <P>
<hr>
Last modified, 1/23/96 B. Land.
<! Revision history:
	Original document: P.Maxfield, 10/94
>
<br>
<!WA18><!WA18><!WA18><!WA18><!WA18><!WA18><!WA18><!WA18><!WA18><!WA18><!WA18><!WA18><!WA18><!WA18><!WA18><!WA18><!WA18><!WA18><!WA18><!WA18><!WA18><!WA18><!WA18><!WA18><IMG SRC="http://www.tc.cornell.edu/copyright.xbm">
<!WA19><!WA19><!WA19><!WA19><!WA19><!WA19><!WA19><!WA19><!WA19><!WA19><!WA19><!WA19><!WA19><!WA19><!WA19><!WA19><!WA19><!WA19><!WA19><!WA19><!WA19><!WA19><!WA19><!WA19><A HREF="http://www.tc.cornell.edu/ctcCopyright.html"> 
<i>Copyright Statement </I></A>
</body> </html>

